﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Demo0520
{
    //乘
    class Ride:Calculate
    {
        public override void DisplayResult(double num1, double num2)
        {
            base.DisplayResult(num1, num2);
            this.num1 = num1;
            this.num2 = num2;
            double ride = 0;
            ride = num1 * num2;
            Console.WriteLine("{0}*{1}={2}", this.num1, this.num2,ride);
        }
    }
}
